home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / boot / initrd.img-2.6.28-15-generic / initrd.img-2.6 / scripts / init-top / keymap < prev    next >
Encoding:
Text File  |  2009-10-12  |  358 b   |  28 lines

  1. #!/bin/sh
  2.  
  3. PREREQ=""
  4. prereqs()
  5. {
  6.     echo "$PREREQ"
  7. }
  8. case $1 in
  9. # get pre-requisites
  10. prereqs)
  11.     prereqs
  12.     exit 0
  13.     ;;
  14. esac
  15.  
  16. OPTS="-q"
  17.  
  18. # Should terminal be in UTF8 mode?
  19. if [ -x /bin/kbd_mode ]; then
  20.     /bin/kbd_mode -u
  21.     OPTS="${OPTS} -u"
  22. fi
  23.  
  24. # Load custom keymap
  25. if [ -x /bin/loadkeys -a -r /etc/boottime.kmap.gz ]; then
  26.     loadkeys ${OPTS} /etc/boottime.kmap.gz
  27. fi
  28.